package com.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
public class Memberfollowmatchtype implements Serializable {
    private String mfmno;

    private String mtno;

    private String mno;

    private Date mfdate;

    private static final long serialVersionUID = 1L;

    public String getMfmno() {
        return mfmno;
    }

    public void setMfmno(String mfmno) {
        this.mfmno = mfmno;
    }

    public String getMtno() {
        return mtno;
    }

    public void setMtno(String mtno) {
        this.mtno = mtno;
    }

    public String getMno() {
        return mno;
    }

    public void setMno(String mno) {
        this.mno = mno;
    }

    public Date getMfdate() {
        return mfdate;
    }

    public void setMfdate(Date mfdate) {
        this.mfdate = mfdate;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Memberfollowmatchtype other = (Memberfollowmatchtype) that;
        return (this.getMfmno() == null ? other.getMfmno() == null : this.getMfmno().equals(other.getMfmno()))
            && (this.getMtno() == null ? other.getMtno() == null : this.getMtno().equals(other.getMtno()))
            && (this.getMno() == null ? other.getMno() == null : this.getMno().equals(other.getMno()))
            && (this.getMfdate() == null ? other.getMfdate() == null : this.getMfdate().equals(other.getMfdate()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getMfmno() == null) ? 0 : getMfmno().hashCode());
        result = prime * result + ((getMtno() == null) ? 0 : getMtno().hashCode());
        result = prime * result + ((getMno() == null) ? 0 : getMno().hashCode());
        result = prime * result + ((getMfdate() == null) ? 0 : getMfdate().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", mfmno=").append(mfmno);
        sb.append(", mtno=").append(mtno);
        sb.append(", mno=").append(mno);
        sb.append(", mfdate=").append(mfdate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}